/*
 * Created on Feb 10, 2005
 * Created by dfhuynh
 */
package edu.mit.simile.longwell.query;

import java.util.Set;

import com.hp.hpl.jena.rdf.model.Resource;

/**
 * @author dfhuynh
 */
public interface IRelator {
	/**
	 * Answer a set of Query's each of which yields something related to
	 * the given set of objects. 
	 * 
	 * @param objects
	 * @param locale
	 * @param fresh
	 * @return
	 */
	public Set relate(Set objects, String locale, boolean fresh);
	
	/**
	 * Answer a set of Query's each of which yields something related to
	 * the given object. 
	 * 
	 * @param object
	 * @param locale
	 * @param fresh
	 * @return
	 */
	public Set relate(Resource object, String locale, boolean fresh);
}
